package com.sumer.psychology.photo.domain.model;

import com.sumer.psychology.common.domain.model.AbstractDomainEvent;
import com.sumer.psychology.tag.domain.model.Tag;

import java.util.Set;

/**
 * User: zhenguang.zhu
 * Date: 2014/9/9
 * Time: 10:59
 */
public class PhotoTagsReplacedEvent extends AbstractDomainEvent {
    private PhotoId photoId;
    private Set<Tag> tags;
    private Set<Tag> removedTags;

    public PhotoTagsReplacedEvent(PhotoId photoId, Set<Tag> tags, Set<Tag> removedTags) {
        super();
        this.photoId = photoId;
        this.tags = tags;
        this.removedTags = removedTags;
    }

    public PhotoId photoId() {
        return photoId;
    }

    public Set<Tag> tags() {
        return tags;
    }

    public Set<Tag> removedTags() {
        return removedTags;
    }
}
